<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>北京化工大学校园消防安全保卫管理系统</title>
    <link href="__ROOT__/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body style="background:#;">
<div class="lefttop" ><span></span>北京化工大学校园消防安全保卫管理系统--{$web_site_title}
    <div style="float:right;margin-right: 20px;" class="user">欢迎,
        <a href="{:U('Admin/System/edit',array('id'=>$session['USER']['staff_id']))}">{$session.USER.nickname|default=$session.USER.staff_id}</a>&nbsp;&nbsp;<a href="{:U('Admin/User/logout')}">退出</a></div>
</div>

<div class="main">
    <div>
        <div  class="main-content">
            <ul class="li_width" >
                <foreach name="menus" item="mval" key="mkey">
                    <li>
                        <div class="li-h3-30">
                            <h3>{$mval.name}</h3>
                        </div>
                        <div class="li-span-70">
                            <foreach name="mval.item" item="tval" key="tkey">
                                <span >
                                    <a href="{$tval['url']}">{$tval.name}</a>
                                </span>
                            </foreach>
                        </div>
                    </li>
                </foreach>
            </ul>
        </div>

    </div>
</div>
</div>
<style type="text/css">
    .main-content{
        width: 70%;margin: 100px 15% 0px 15%;
    }
    .li_width li{
        width: 100%;
        height: auto;
        /*margin: 20px 0px;*/
        float: left;
        display: block;
    }
    .li_width span{
        color: blue;
        margin-bottom: 15px;
        margin-right: 30px;
        display: inline-block;
    }
    .li_width span a{
        color: blue;
    }
    .li-h3-30{
        width: 20%;
        /*height: 60px;*/
        float: left;
        margin-left: 10%;
        text-align: left;
        display: block;
    }
    .li-span-70{
        width: 70%;
        height: 60px;
        float: right;
        text-align: left;
        display: block;
    }
</style>
</body>
</html>
